#include <stdio.h>

void* my_memcmp(const void*s1,const void*s2,size_t num) 
{
	void* ret = s1;
	while (num--) 
	{
		*(char*)s1 = *(char*)s2;
		((char*)s1)++;
		((char*)s2)++;
	}
	return ret;
}
void main() 
{
	int arr1[] = {1,2,3,4,5,6,7,8,9,};
	int arr2[20] = {0};
	int* ret=(int*)my_memcmp(arr2,arr1,36);
}